package model

import "github.com/gogf/gf/v2/os/gtime"

type GetAppUpgradeListInput struct {
	Id int `json:"id"          description:"ID"`
	PaginationInput
}
type AppUpgradeListOutput struct {
	Data []AppUpgradeOutput
	PaginationOutput
}
type AppUpgradeOutput struct {
	CreatedAt string `json:"CreatedAt"          description:""`
	UpdatedAt string `json:"updatedAt"          description:""`
	Id        string `json:"id"          description:""`
	Version   string `json:"version"          description:"版本号"`
	Name      string `json:"name"          description:"升级包名称"`
	Descript  string `json:"descript"          description:"升级包说明"`
	Path      string `json:"path"          description:"升级包地址"`
}
type AppUpgradeAddInput struct {
	Path      string      `json:"path"          description:"升级包地址"`
	CreatedAt *gtime.Time `json:"CreatedAt"          description:""`
	UpdatedAt *gtime.Time `json:"updatedAt"          description:""`
	Version   string      `json:"version"          description:"版本号"`
	Name      string      `json:"name"          description:"升级包名称"`
	Descript  string      `json:"descript"          description:"升级包说明"`
}
type AppUpgradeEditInput struct {
	Id int `json:"id"          description:"ID"`
	AppUpgradeAddInput
}
